package cnpm.dto;

import java.util.List;

import cnpm.entity.Contract;
import cnpm.entity.Employee;
import cnpm.entity.Insurance;
import cnpm.entity.User;

public class DetailEmployeeDTO {

	private Employee employee;
	private List<Contract> contracts;
	private List<Insurance> insurances;
	private User userCreate;
	private User userUpdate;
	private int nationality;
	private int literacy;
	private boolean update;
	private boolean error;
	private boolean errorEmail;
	private boolean errorPhone;
	private boolean errorIDCard;
	private boolean errorAccountBank;
	
	public DetailEmployeeDTO(){}

	public Employee getEmployee() {
		return employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public List<Contract> getContracts() {
		return contracts;
	}

	public void setContracts(List<Contract> contracts) {
		this.contracts = contracts;
	}

	public List<Insurance> getInsurances() {
		return insurances;
	}

	public void setInsurances(List<Insurance> insurances) {
		this.insurances = insurances;
	}

	public User getUserCreate() {
		return userCreate;
	}

	public void setUserCreate(User userCreate) {
		this.userCreate = userCreate;
	}

	public User getUserUpdate() {
		return userUpdate;
	}

	public void setUserUpdate(User userUpdate) {
		this.userUpdate = userUpdate;
	}

	public int getNationality() {
		return nationality;
	}

	public void setNationality(int nationality) {
		this.nationality = nationality;
	}

	public int getLiteracy() {
		return literacy;
	}

	public void setLiteracy(int literacy) {
		this.literacy = literacy;
	}

	public boolean isUpdate() {
		return update;
	}

	public void setUpdate(boolean update) {
		this.update = update;
	}

	public boolean isError() {
		return error;
	}

	public void setError(boolean error) {
		this.error = error;
	}

	public boolean isErrorEmail() {
		return errorEmail;
	}

	public void setErrorEmail(boolean errorEmail) {
		this.errorEmail = errorEmail;
	}

	public boolean isErrorPhone() {
		return errorPhone;
	}

	public void setErrorPhone(boolean errorPhone) {
		this.errorPhone = errorPhone;
	}

	public boolean isErrorIDCard() {
		return errorIDCard;
	}

	public void setErrorIDCard(boolean errorIDCard) {
		this.errorIDCard = errorIDCard;
	}

	public boolean isErrorAccountBank() {
		return errorAccountBank;
	}

	public void setErrorAccountBank(boolean errorAccountBank) {
		this.errorAccountBank = errorAccountBank;
	}
}
